package mylab.demo.usm.biz.service.impl;

import mylab.demo.usm.biz.entity.SysApp;
import mylab.demo.usm.biz.mapper.SysAppMapper;
import mylab.demo.usm.biz.service.SysAppService;
import mylab.starters.mybatis.template.impl.SuperServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Sylar
 * @since 2021-11-24
 */
@Service
public class SysAppServiceImpl extends SuperServiceImpl<String, SysApp, SysAppMapper>
        implements SysAppService {

    @Override
    public SysApp getByClientId(String clientId) {
        return baseMapper.getByClientId(clientId);
    }

    @Override
    public boolean deleteByClientId(String clientId) {
        return baseMapper.deleteByClientId(clientId);
    }
}
